package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 快递公司编码对象 pc_express_delivery
 * 
 * @author ruoyi
 * @date 2022-08-18
 */
@ApiModel(value = "PcExpressDelivery",description = "快递公司编码对象 pc_express_delivery")
public class PcExpressDelivery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 快递公司编码表 */
    private Long id;

    /** 公司名称 */
    @ApiModelProperty(value="公司名称",name="PcExpressDelivery$name")
    @Excel(name = "公司名称")
    private String name;

    /** 编码 */
    @ApiModelProperty(value="编码",name="PcExpressDelivery$expCode")
    @Excel(name = "编码")
    private String expCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setExpCode(String expCode) 
    {
        this.expCode = expCode;
    }

    public String getExpCode() 
    {
        return expCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("expCode", getExpCode())
            .toString();
    }
}
